<div class="content">   
﻿<table border="1">
    <tr>
        <td><?php echo $this->translate('Email'); ?></td>
        <td><?php echo $this->translate('Delete'); ?></td>
        <td><?php echo $this->translate('Transactions'); ?></td>
    </tr>
    
<?php foreach($this->test as $arr) : ?>
    <tr>  
        <td> 
          <?php //email пользователей
          echo "<a href=" . $this->url(array(
                                'controller' => 'admin',
                                'action' => 'show',
                                'id' => $arr['id'])) . ">" . $arr['email']."</a>";
          ?>
        </td>
        
        <td>
          <?php
          //удаление
          echo "<a href=" . $this->url(array(
                                'controller' => 'admin',
                                'action' => 'delete',
                                'id' => $arr['id'])) . ">".$this->translate('Delete')."</a>";
          ?>           
        </td>
        
        <td>            
          <?php
          //платежная история
          echo "<a href=" . $this->url(array(
                                    'controller' => 'admin',
                                    'action' => 'transactions',
                                    'id' => $arr['id'])) . ">".$this->translate('Transactions')."</a>";
          ?>            
        </td>
    </tr>
<?php endforeach; ?>    
</table>
</div>
